package org.jeecg.modules.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yaorange.jxc.goods.entity.Goods;
import org.jeecg.modules.api.vo.PageVo;
import org.jeecg.modules.pojo.Purchase;
import org.jeecg.modules.pojo.PurchaseGoods;

import java.util.Date;
import java.util.List;

/**
 * @description:
 * @company: yaorange
 * @author: Andy.Li
 * @Date: 2022.04.26 16:00:22
 */
public interface PurchaseService {
    List<Purchase> getList();

    PageVo<Purchase> getPage(Page<Purchase> page, String purchaseNumber, Integer supplierId, Integer state, String purchaseDate);

    int delById(Integer purchaseListId);

    int addPurAndPurGoods(Purchase purchase);


    int addPurGoods(Goods goods);
}
